import random as rand
#import maya.cmds as mc

revolve = 5
amount = 10
while i < amount:
    print rand.randint(1, revolve)
    i += 1
